import http from '@/utils/http'

//分页查询
export function findRolePage(data) {
    return http.post('/api/role/pageList', data)
}

//删除角色
export function deleteRole(data) {
    return http.post(`/api/role/delete/${data}`)
}

//更新角色
export function updateRole(data) {
    return http.post(`/api/role/update`, data)
}